package com.qiche.service;

import com.github.pagehelper.PageInfo;
import com.qiche.aspect.Result;
import com.qiche.model.CategoryBanner;

/**
 * User: ZHS
 * Date: 2018/7/12 11:38
 */
public interface CategoryBannerService extends IService<CategoryBanner> {
    PageInfo<CategoryBanner> selectAllByPage(int page, int limit);

    Integer saveBanner(CategoryBanner category);

    Result upOrDown(Long id, String type);
    
    Result<?> selectAll() throws Exception;
}
